<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        video {
            width: 100%;
            min-height: 300px;
        }
    </style>
</head>

<body>
<video src="" id="video"></video>
<script>
    var respon = undefined
    fetch('/blobtest', {method: 'post', responseType: 'blob'}).then(resp => {
        return resp.blob()
        // document.getElementById('video').setAttribute('src',window.URL.createObjectURL(resp.blob))
        /*resp.blob.then(data=>{
             document.getElementById('video').setAttribute('src',window.URL.createObjectURL(data))
        })*/
    }).then(blob => {

    })
</script>
</body>

</html>